package com.ilink.ilinkcommon.domain;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum StatusEnum {
    NOT_STARTED("0", "未学习"),
    IN_PROGRESS("1", "正在学习"),
    COMPLETED("2", "学习完成"),
    OTHER("3", "其他");
    @EnumValue
    private final String userStudyStatus;
    private final String description;

    StatusEnum(String userStudyStatus, String description) {
        this.userStudyStatus = userStudyStatus;
        this.description = description;
    }
}
